﻿using System;
using System.Collections;

namespace Tnt
{
    class Program
    {
        static void Main(string[] args)
        {
            #region 拆弹大冒险
            Lead lead = new Lead();
            Stack tnt = lead.stack();
            Console.WriteLine("欢迎来到拆弹大冒险");
            Console.WriteLine("接下来你将按照提示切断某些颜色的引线来解除炸弹");
            Console.WriteLine("第一条：血红蛋白的颜色");
            string judge1 = Console.ReadLine();
            if (tnt.Contains(judge1))
            {
                Console.WriteLine("不错嘛。只是小试牛刀而已，来下一条");
                Console.WriteLine("第二条：一个数学符号");
                tnt.Pop();
                string judge2 = Console.ReadLine();
                if (tnt.Contains(judge2))
                {
                    Console.WriteLine("脑子挺好使，下一个");
                    Console.WriteLine("第三条：这位帅气的创作者的姓");
                    tnt.Pop();
                    string judge3 = Console.ReadLine();
                    if (tnt.Contains(judge3))
                    {
                        Console.WriteLine("快到一半了");
                        Console.WriteLine("第四条：你头上的颜色");
                        tnt.Pop();
                        string judge4 = Console.ReadLine();
                        if (tnt.Contains(judge4))
                        {
                            Console.WriteLine("来个简单的");
                            Console.WriteLine("第五条：天空的颜色");
                            tnt.Pop();
                            string judge5 = Console.ReadLine();
                            if (tnt.Contains(judge5))
                            {
                                Console.WriteLine("我赌你下一个不懂");
                                Console.WriteLine("第六条：波长420-440nm的颜色");
                                tnt.Pop();
                                string judge6 = Console.ReadLine();
                                if (tnt.Contains(judge6))
                                {
                                    Console.WriteLine("行吧，居然给你解到这了，最后一条了，加油吧");
                                    Console.WriteLine("高锰酸钾溶液的颜色");
                                    tnt.Pop();
                                    string judge7 = Console.ReadLine();
                                    if (tnt.Contains(judge7))
                                    {
                                        Console.WriteLine("行吧，我承认你很强，你通关了");
                                    }
                                    else
                                    {
                                        Console.WriteLine("Boom！！！吓死你个龟孙");
                                    }
                                }
                                else
                                {
                                    Console.WriteLine("Boom！！！吓死你个龟孙");
                                }
                            }
                            else
                            {
                                Console.WriteLine("Boom！！！吓死你个龟孙");
                            }
                        }
                        else
                        {
                            Console.WriteLine("Boom！！！吓死你个龟孙");
                        }
                    }
                    else
                    {
                        Console.WriteLine("Boom！！！吓死你个龟孙");
                    }
                }
                else
                {
                    Console.WriteLine("Boom！！！吓死你个龟孙");
                }
            }
            else
            {
                Console.WriteLine("Boom！！！吓死你个龟孙");
            }
        }
        #endregion 
    }
}

